﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Shared/MasterPages/Home.Master" CodeBehind="Index.aspx.vb" Inherits="SISSAT.WebDevelopment.Pages.Home.Index" %>
<%@ MasterType VirtualPath="~/Shared/MasterPages/Home.master" %>
<%@ Register TagPrefix="sissat" TagName="GradePointAverageControl" Src="/Shared/UserControls/GradePointAverageControl.ascx" %>
<%@ Register TagPrefix="sissat" TagName="SubjectListControl" Src="/Shared/UserControls/SubjectListControl.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HomeContentPlaceHolder" runat="server">
    <asp:MultiView ID="IndexViews" runat="server" ActiveViewIndex="0">
        <asp:View ID="StudentView" runat="server">
            <div class="gradelist">
                <div class="center">
                    <sissat:GradePointAverageControl ID="GradePointAverageControl" runat="server" />
                </div>
            </div>
        </asp:View>
        <asp:View ID="InstructorView" runat="server">
            <div class="subjectlist">
                <div class="center">
                    <sissat:SubjectListControl ID="SubjectListControl" runat="server" />
                </div>
            </div>
        </asp:View>
        <asp:View ID="SysAdminView" runat="server">
            <% HttpContext.Current.Response.Redirect("/Pages/Administration/Index.aspx")%>
        </asp:View>
    </asp:MultiView>
</asp:Content>
